package com.feale.service;

import com.feale.model.Request01;
import com.feale.model.Request02;
import com.feale.model.Response;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.ai.tool.annotation.Tool;
import org.springframework.stereotype.Service;

@Service
public class TestService {
    private final Logger log = LoggerFactory.getLogger(TestService.class);
    @Tool(description = "查询工资和工时")
    public Response getCompanyEmployee(Request01 request01, Request02 request02) {
        log.info("根据公司和雇员,来查询工资和工时");
        Response response = new Response();
        response.setSalary("1000");
        response.setDayManHour("8");
        return response;
    }
}
